<?php defined('ByShopWWI') or exit('Access Invalid!');?>
<style>
    body{background: #f5f5f5 !important;}
</style>
<div class="warp-all article-layout-a">
    <div class="mainbox">
        <div class="a-detail sitenav-bar">
            <div class="sitenav"><?php echo $lang['current_location'];?><?php echo $lang['nc_colon'];?>
                <a href="<?php echo SHOP_SITE_URL;?>">金贵银器</a> >

               <!-- <?php /*if(in_array($output['article_detail']['article_title'], array('联系我们','合作及洽谈','招聘英才','关于我们'))){ */?>
                <a href=""><?php /*echo $output['article_detail']['article_title'] */?></a></div>
            <?php /*}else{ */?>
            <a href="<?php /*echo CMS_SITE_URL.DS.'index.php?act=ques_answer&op=index';*/?>">有问有答</a></div>
        --><?php /*} */?>
                <a href="<?php echo CMS_SITE_URL.DS.'index.php?act=ques_answer&op=index';?>">有问有答</a> >
                <a href="<?php echo CMS_SITE_URL.DS.'index.php?act=ques_answer&op=index&ques_answer='.$output['class'];
                ?>"><?php echo
                    $output['class_name'] ?></a>
            </div>
        </div>
        <article class="article-detail-content">
            <header id="articleTool-holder">
                <h1 class="article-title"><?php echo $output['article_detail']['article_title'];?></h1>
                <p class="article-sub">



                    <span class="source">来源: <?php echo empty($output['article_detail']['article_origin'])?C('site_name'):$output['article_detail']['article_origin'];?> </span>

                    <span class="date">发布时间：<?php echo date('Y-m-d',$output['article_detail']['article_publish_time']);?></span>
                    <span class="PV" title="<?php echo $lang['cms_text_view_count'];?>">浏览：<?php echo $output['article_detail']['article_click'];?></span>


                </p>

            </header>
            <!-- 正文 -->
            <section class="article-body article-content" id="text">
			
			<?php echo $output['article_detail']['article_content'];?>
			<p class="before">
			 <?php if($output['id_pre']['article_id']) {?>
                <a href="<?php echo getCMS_question_Url($output['id_pre']['article_id']); ?>">
               上一条：
                    <?php
                    if (mb_strlen($output['id_pre']['article_title'])>70){
                        echo str_cut($output['id_pre']['article_title'],'50').'...' ;
                    }else{
                        echo $output['id_pre']['article_title'];
                    }
                    ?>
                </a>
            <?php }else{
                echo '已是第一条';
            }?>
			</p>
			<p class="after">
            <?php if($output['id_next']['article_id']) { ?>
                <a  href="<?php echo getCMS_question_Url($output['id_next']['article_id']); ?>">
                下一条：
                    <?php
                    if (mb_strlen($output['id_next']['article_title'])>70){
                        echo str_cut($output['id_next']['article_title'],'50').'...' ;
                    }else{
                        echo $output['id_next']['article_title'];
                    }
                    ?>

                </a>
            <?php }else{
                echo '已是最后一条';
            }?>
			</p>
			
                
                <div class="shrape">
                    <div class="bdsharebuttonbox" style="float: right;margin-top: -50px;"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
                    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
                </div>
            </section>
           

        </article>
    </div>
    <div class="sidebar">
        <?php require('talk_list.sidebar.php');?>
    </div>
</div>
